Project Specific Layout DXL Menu Command Line Switch

I would like to add/create a project specific Layout DXL menu structure to allow the Layout Views to be created by the users.

Current knowledge:

The current default layout dxl menu when an new layout DXL is added to a colum uses the %HOME%\lib\dxl\layout directory.

The layout.hlp file defines the structure of available layout dxl items and help info (see attached example).

The same principle as the DOORS menu structure format for items apply:

// defines the title of the dxl layout item

/* help information to be displayed for the dxl layout item */
 

By using the commandline switch -layoutaddins "PATH" (see attached command line info) I can add the project specific Layout DXL items.

For some silly reason this does not seem to work. Please advise

 

 


Yoda101 - Mon Mar 27 23:27:47 EDT 2017

Re: Project Specific Layout DXL Menu Command Line Switch
Mathias Mamsch - Tue Mar 28 03:35:45 EDT 2017

"Does not work" does not work very well as a problem description. You need to tell us, what you did, what exactly happened and what you expected to happen.

In th mean time:

- make sure you got a .hlp file inside the DXL script directory named exactly as the directory

- make sure that DXL security is disabled on the server

Regards, Mathias

Re: Project Specific Layout DXL Menu Command Line Switch
Yoda101 - Tue Mar 28 13:10:16 EDT 2017

Mathias Mamsch - Tue Mar 28 03:35:45 EDT 2017

"Does not work" does not work very well as a problem description. You need to tell us, what you did, what exactly happened and what you expected to happen.

In th mean time:

- make sure you got a .hlp file inside the DXL script directory named exactly as the directory

- make sure that DXL security is disabled on the server

Regards, Mathias

Mathias - thank you for the response and I have to agree - "does not work" is not enough of a problem description.

Attached a file clarifying my expectations:

  • I would like to see my project specific Layout DXL to appear in the dialog box when adding a new Layout DXL column.
  • I also confirm the suggestions above were verified - I did not have the .hlp file correct.
  • Directory was added to the start-up icon to add the project specific Layout DXL

Still not functioning as expected.

 


Attachments

expected.docx

Re: Project Specific Layout DXL Menu Command Line Switch
Mathias Mamsch - Tue Mar 28 16:03:18 EDT 2017

Yoda101 - Tue Mar 28 13:10:16 EDT 2017

Mathias - thank you for the response and I have to agree - "does not work" is not enough of a problem description.

Attached a file clarifying my expectations:

  • I would like to see my project specific Layout DXL to appear in the dialog box when adding a new Layout DXL column.
  • I also confirm the suggestions above were verified - I did not have the .hlp file correct.
  • Directory was added to the start-up icon to add the project specific Layout DXL

Still not functioning as expected.

 

You should put the files outside the dxl addins directory, like in C:\SGD\Layout

- Put inside the C:\SGD directory a file called SGD.hlp ... You can leave it empty.

- Put inside the Layout Directory a file called Layout.hlp (as you already have it). Put inside your menu description like "Awesome Layouts" ...

- pass over the commandline a switch  -L C:\SGD

This should make it work.

If it doesnt, you shoud use ProcessMonitor from Sysinternals to see if the DOORS client is looking for anything (file / directory) containing SGD. If not either the parameter was wrong or your DOORS client ignores the directory for other reasons (like DXL Security). If it does look for files inside the SGD directory you can find out which file he could not find.

Regards, Mathias

 

Re: Project Specific Layout DXL Menu Command Line Switch
Yoda101 - Tue Mar 28 23:21:56 EDT 2017

Mathias Mamsch - Tue Mar 28 16:03:18 EDT 2017

You should put the files outside the dxl addins directory, like in C:\SGD\Layout

- Put inside the C:\SGD directory a file called SGD.hlp ... You can leave it empty.

- Put inside the Layout Directory a file called Layout.hlp (as you already have it). Put inside your menu description like "Awesome Layouts" ...

- pass over the commandline a switch  -L C:\SGD

This should make it work.

If it doesnt, you shoud use ProcessMonitor from Sysinternals to see if the DOORS client is looking for anything (file / directory) containing SGD. If not either the parameter was wrong or your DOORS client ignores the directory for other reasons (like DXL Security). If it does look for files inside the SGD directory you can find out which file he could not find.

Regards, Mathias

 

Mathias - thank you - (it appears that you never sleep) - the guidelines helped to solve this - the gotcha was a backslash at the end of the command-line directory parameter which prevented the layout dxl path to be recocnized by DOORS.

I could keep the LAYOUT DXL code in the addins directory by adding an additional dummy directory level with no *.hlp file, otherwise it appears in the menu structure.

This helps with version control for the project specific DXL code.

Regards - Jan 


Attachments

solved.docx